<template>
	<view class="container">
		<view class="title">预约成功</view>
		<view class="appoint">
			<image src="/static/home/baoyang/appointsuccess.png" mode="" />
			<view>预约成功</view>
			<view>预约编号：324252536363634</view>
			<button @click="goHome">返回首页</button>
			<button style="background-color: #bfbfbf;" @click="orderDetails">预约详情</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goHome() {
				uni.switchTab({
					url: "/pages/index/home/home"
				})
			},
			orderDetails() {
				uni.navigateTo({
					url: "/pages/index/baoyang/nearbystores/storedetail/enterorder/orderdetails/orderdetails"
				})
			}
		}
	}
</script>

<style>
	.container {
		width: 100%;
		height: 400rpx;
		background-image: url(/static/homebg.png);
		background-size: 100%;
	}

	.title {
		color: white;
		width: 100%;
		font-size: 18px;
		text-align: center;
		padding-top: 12px;
	}

	.appoint {
		width: 90%;
		margin: 20px auto;
		text-align: center;
		background-color: white;
		border-radius: 10px;
		padding: 80rpx 0;
	}

	image {
		width: 120rpx;
		height: 120rpx;
	}

	.appoint :nth-child(2) {
		font-size: 20px;
		margin: 10px auto;
	}

	.appoint :nth-child(3) {
		margin: 40px 0;
	}

	.appoint button {
		color: white;
		width: 500rpx;
		font-size: 14px;
		padding: 5rpx 0;
		border-radius: 20px;
		background-color: #0d65e8;
		margin: 20px auto;
	}
</style>